package com.itheima.pojo;

/**
 * @Author weizhongli
 * @Date 2020/4/22
 * @Version v1.0
 * @Description
 **/
public class Booke{
    private String name;
    private String writer;
    private Integer age;

    public Booke() {
    }

    public Booke(String name, String writer, Integer age) {
        this.name = name;
        this.writer = writer;
        this.age = age;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getWriter() {
        return writer;
    }

    public void setWriter(String writer) {
        this.writer = writer;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    @Override
    public String toString() {
        return "Booke{" +
                "name='" + name + '\'' +
                ", writer='" + writer + '\'' +
                ", age=" + age +
                '}';
    }
}
